package com.ruochen.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
// nacos 热更新方式二(推荐使用)
@ConfigurationProperties(prefix = "pattern")
public class PatternProperties {
    private String dateFormat;
    private String envSharedValue;
    private String name;
}
